@layout("/common/_form.html",{js:["/assets/fms/post/post_add.js"]}){

<form class="layui-form" id="postForm" lay-filter="postForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="postId" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">发布者id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="memberId" name="memberId" placeholder="请输入发布者id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">帖子类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="postType" name="postType" placeholder="请输入帖子类型" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">转发贴id<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="sharePostId" name="sharePostId" placeholder="请输入转发贴id" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">帖子内容<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="content" name="content" placeholder="请输入帖子内容" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">媒体类型<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="mediaType" name="mediaType" placeholder="请输入媒体类型" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">图片/视频<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="url" name="url" placeholder="请输入图片/视频" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">定位信息<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="location" name="location" placeholder="请输入定位信息" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">定位经度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="longitude" name="longitude" placeholder="请输入定位经度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">纬度定位<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="latitude" name="latitude" placeholder="请输入纬度定位" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否删除<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="ifDel" name="ifDel" placeholder="请输入是否删除" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">删除时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="deleteTime" name="deleteTime" placeholder="请输入删除时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">审核状态<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="checkStatus" name="checkStatus" placeholder="请输入审核状态" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">转发数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="numberShare" name="numberShare" placeholder="请输入转发数量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">评论数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="numberComment" name="numberComment" placeholder="请输入评论数量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">点赞数量<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="numberThumbs" name="numberThumbs" placeholder="请输入点赞数量" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}